package agenda.client;

import agenda.shared.model.Contato;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface ContatosServiceAsync {
	void ContatosServer(Contato contato, AsyncCallback<String> callback)
			throws IllegalArgumentException;
	
	void getContato(long Codigo, AsyncCallback<Contato> callback)
			throws IllegalArgumentException;
	
}
